<div class="userPanel_01">
			<div class="imgField">
				<a href="#" title="个人信息"><img src="${viewMember.headImage!}" width="85" height="85" alt="${viewMember.nickName!}"></a>
			</div>
			<div class="infoField">
				<div class="title">
					<#if isSelf><p class="more"><a href="${ctx}/member/memberInfo" class="btn" title=""></a></p></#if>
					<h1><a href="<@userCenterLink  memberId="${viewMember.memberId}" />" title="个人信息">${viewMember.nickName!}</a></h1>
					<h2>${viewMember.yearAfter}-${viewMember.constellation!}</h2>
				</div>
				<div class="info">
					<ul>
						<li>
							<p class="num"><a style='color:#f08200;' href='${ctx}/smgmemberfocus/listFocus/${viewMember.memberId?c}-1'>${viewMember.focusCount!}</a></p>
							<p>关注</p>
						</li>
						<li>
							<p class="num" id="fansnum"><a style='color:#f08200;' href='${ctx}/smgmemberfocus/listFans/${viewMember.memberId?c}-1'>${viewMember.fansCount!}</a> </p>
							<p>粉丝</p>
						</li>
						<li>
							<p class="num">${viewMember.totalPoint?c}</p>
							<p>正能量</p>
						</li>
					</ul>
				</div>
			</div>
			<#if !isSelf && isLogin>
			<div class="btnField">
					<p class="btns" id="member${viewMember.memberId?c}">
									<#if viewMember.focusDate?exists>
											<a href="javascript:deleteFocus(${viewMember.memberId?c})" class="btn btn1" title="取消关注">- 取消关注</a>
									<#else>
											<a href="javascript:focus(${viewMember.memberId?c})" class="btn btn1" title="加关注">+ 关注</a>
									</#if>
				    </p> 
				    <a href="${ctx}/message/newmessage?memberId=${viewMember.memberId?c}" class="btn btn2" >发站内信</a>
				    <style>
				    .userPanel_01 .btnField .btn {
				    	float:left;
				    }
				    </style>
				<!--  
				<a href="#" class="btn btn3">更多</a>
				-->
			</div>
			</#if>
			<div class="textField">
				<p>${viewMember.signature!}</p>
			</div>
		</div>
		<script>
			function focus(memberId){
			$.ajax({
		 			type: "get",
					url: "${ctx}/smgmemberfocus/focus/"+memberId,
					beforeSend: function(XMLHttpRequest){
					//ShowLoading();
					},
					success: function(data, textStatus){
						var state = data.state;
						if ( state == 1 ){
							$('#member'+memberId).html("<a href='javascript:deleteFocus("+memberId+");' class='btn' style='color:red'>- 取消关注</a>");
							var f = $('#fansnum').html();
							f = f/1;
							f = f  + 1;
							$('#fansnum').html(f);
						}else{
							desc = data.desc;
							alert(desc);
						}
					},
					data:{
					},
					dataType:'json'
				}
	 		)
	}
	function deleteFocus(memberId){
		$.ajax({
		 			type: "get",
					url: "${ctx}/smgmemberfocus/deleteFocus/"+memberId,
					beforeSend: function(XMLHttpRequest){
					//ShowLoading();
					},
					success: function(data, textStatus){
						var state = data.state;
						if ( state == 1 ){
							$('#member'+memberId).html("<a href='javascript:focus("+memberId+");' class='btn btn1' style='color:red'>+ 关注</a>");
							var f = $('#fansnum').html();
							f = f/1;
							if ( f > 1 ) {
								f = f  - 1;
							}
							$('#fansnum').html(f);
						}else{
							desc = data.desc;
							alert(desc);
						}
					},
					data:{
					},
					dataType:'json'
				}
	 		)
	}
		</script>